package com.doit.sparksql.day01

import java.util.Properties

/**
 * @DATE 2022/1/13/14:51
 * @Author MDK
 * @Version 2021.2.2
 * */
object SQL_JDBC {
  def main(args: Array[String]): Unit = {
    val spark = SQLUtil.getSession
    val prop = new Properties()
    prop.setProperty("user","root")
    prop.setProperty("password","root")
//    val df = spark.read.jdbc("jdbc:mysql://localhost01:3306/test02", "orders")
  }
}
